<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>商品列表 - 我的电商网站</title>
    <link rel="stylesheet" href="/static/css/style.css">
</head>
<body>
    <header>
        <nav>
            <div class="logo">电商平台</div>
            <ul>
                <li><a href="/">首页</a></li>
                <li><a href="/products" class="active">商品</a></li>
                <li><a href="/orders">我的订单</a></li>
                <li><a href="/profile">个人资料</a></li>
            </ul>
        </nav>
    </header>

    <main>
        <section class="products-header">
            <h1>所有商品</h1>
            <div class="search-filter">
                <input type="text" placeholder="搜索商品...">
                <select>
                    <option>所有分类</option>
                    <option>电子产品</option>
                    <option>服装</option>
                    <option>家居</option>
                </select>
                <select>
                    <option>排序方式</option>
                    <option>价格从低到高</option>
                    <option>价格从高到低</option>
                    <option>最新上架</option>
                </select>
            </div>
        </section>

        <section class="product-list">
            <div class="product-grid">
                <!-- 商品将通过JavaScript动态加载 -->
            </div>
        </section>
    </main>

    <!-- <footer>
        <p>&copy; 2023 电商平台. 保留所有权利.</p>
    </footer> -->

    <script src="/static/js/products.js"></script>
</body>
</html>